package cn.commonblog.biz.entity;

import cn.commonblog.common.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 文章实体类
 *
 * @author zhoudi
 * @date 2020/6/27
 */
@Data
@TableName("tb_article")
public class SysArticle extends BaseEntity implements Serializable {

    private String title;

    private String author;

    private String des;

    private String content;

    @TableField(exist = false)
    private List<SysTag> tags;

    @TableField(exist = false)
    private SysCategory category;
}
